package so.sao.code.service.repository;

import java.util.List;

import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;
import so.sao.code.service.domain.entity.QrcodeDomain;


/**
 * 
 * @author cuijunhua
 *
 */
@Repository
public interface QrcodeDomainDao extends JpaRepository<QrcodeDomain, Long> {

	/**
	 * 查询不是删除状态的数据
	 * 
	 * @param status
	 * @return
	 */
	List<QrcodeDomain> findAllByStatus(Integer status);

	QrcodeDomain findByDomainUrl(String url);

}
